/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package zdsoft.nbfsc;

import sense.vitality.client.SenseClient;
import sense.vitality.protocol.Stuff;

/**
 *
 * @author Administrator
 */
public class ClientCall {
	public static void main(String[] args) {
		// 连接服务
		SenseClient sc = SenseClient.instance("192.168.34.17", 9880);
		// 指定任务名称
		Stuff req = sc.instanceRequest("LoginTask");
		// 指定参数
		Param param = new Param();
		param.setEmail("dragn001@126.com");
		param.setMobileNumber("13388955615");
		param.setIdent("elegance");
		param.setPassword("123456789");
		req.setTargetObject(param);

		Stuff resp = sc.send(req);

	}
}
